﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IVisio = Microsoft.Office.Interop.Visio;

namespace SimpleVisio.Model
{


    public class Container
    {
        public int id { get; set; }
        public object index { get; set; }
        public string name { get; set; }
        //public string type { get; set; }
        public List<Component> components { get; set; }
        public List<Connector> connectors { get; set; }
        public bool enabled { get; set; }

        public IVisio.Shape shape { get; set; }
        public Point myPoint { get; set; }
        public IVisio.Master myMaster { get; set; }
        //public Container(int id,string name,bool enabled)
        //{
        //    this.id = id;
        //    this.name = name;
        //    this.enabled = enabled;

        //        components = new List<Component>();
        //        connectors = new List<Connector>();
            
        //}

        //public void addComponent(Component component)
        //{
        //    components.Add(component);
        //}
        //public void addConnector(Connector connector)
        //{
        //    connectors.Add(connector);
        //}

    }
}
